package com.ruoyi.web.controller.workflow;

import com.ruoyi.common.core.controller.BaseController;
import com.ruoyi.common.core.domain.R;
import com.ruoyi.workflow.service.ProcessModelService;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author TD
 * @version 1.0
 * @date 2023/8/23
 */
@Api("流程定义管理")
@RestController
@RequestMapping("/processModel")
public class DefinitionController extends BaseController{

    @Autowired
    ProcessModelService processModelService;

    @ApiOperation("测试")
    @GetMapping("/list")
    public R<?> userList(){
        processModelService.test();
        return R.ok();
    }
}

